-- attack_add_force
-- created by zhuangsl
-- 阿瓦隆巨炮发射后，威力提升

return {
    apply = function(prop, baseValue)
        return prop[3];
    end,

    -- 巨炮发射后触发
    trigger = function(who, prop, arg)
        -- TODO
        local attack_addon = who.dbase:query("attack_addon", 0);
        attack_addon = attack_addon + prop[3];

        who.dbase:set("attack_addon", attack_addon);
    end,

    record = function(target, prop, path)
        return false;
    end
};